import routes from '@views/layout/routes';
const roles = [
	{
		path: '/roles/home',
		redirect: '/roles/index',
		name: 'rolesHome',
		meta: {
			title: '权限管理',
			icon: 'ri-door-lock-fill',
			roles: ['admin'],
		},
		component: routes,
		children: [
			{
				name: 'rolesIndex',
				path: '/roles/index',
				meta: { title: '用户列表' },
				component: () => import('@views/roles'),
			},
		],
	},
];
export default roles;
